//
//  SetupData.m
//  ent
//
//  Created by Tyrion on 5/25/15.
//  Copyright (c) 2015 ND. All rights reserved.
//

#import "SetupData.h"

@implementation SetupData


+(NSDictionary *)JSONKeyPathsByPropertyKey{
    return @{
             @"nickName":@"nick",
             @"sex": @"sex",
             @"district":@"district",
             @"signature":@"signature",
             @"birthday":@"birthday",
             @"portrait":@"profile_photo"
             };
}


@end


@implementation UpdatePortraitRet


+(NSDictionary *)JSONKeyPathsByPropertyKey{
    return @{
             @"bRet":@"success",
             @"anotherPortrait":@"profile_photo"
             };
}

@end


@implementation UpdateUserInfoRet

+(NSDictionary *)JSONKeyPathsByPropertyKey{
    return @{
             @"retStat":@"success",
             @"msg":@"msg",
             @"usrInfo":@"user_info"
             };
}


+(NSValueTransformer *)usrInfoJSONTransformer{
    return [NSValueTransformer mtl_JSONDictionaryTransformerWithModelClass: SetupData.class];
}

@end

